getApp();

Component({
    that: void 0,
    properties: {
        myIndex: Number,
        staticInfo: {
            type: Object,
            observer: function(e, t) {}
        },
        dynamicInfo: {
            type: Object,
            observer: function(e, t) {
                null != e && null != t && e.queueId != t.queueId && this.bgOnTap();
            }
        }
    },
    data: {
        selectIndex: -1,
        selectTop: -20
    },
    methods: {
        bgOnTap: function(e) {
            this.setData({
                selectIndex: -1
            });
        },
        proOnTap: function(e) {
            var t = e.currentTarget.dataset.index;
            this.data.selectIndex != t ? this.setData({
                selectIndex: t
            }) : this.triggerEvent("itemOnSelected", {
                index: t
            });
        }
    }
});